package com.ttj.mapper.oracle;

import java.util.List;
import java.util.Map;

import com.ttj.domain.oracle.OrderInstock;
import com.ttj.domain.oracle.OrderInstockDetail;
import com.ttj.mapper.oracle.gen.SuperOrderInstockDetailMapper;

public interface OrderInstockDetailMapper extends SuperOrderInstockDetailMapper {
	List<OrderInstockDetail> getOneByOrderId(String orderId);
	int updateDetails(Map<String,Object> map);//验收时录入实际重量
	List<OrderInstockDetail> countAcceptedDetails(Map<String,Object> map);//工作日志验收量的统计
	List<OrderInstockDetail> countHangingDetails(Map<String,Object> map);//工作日志挂起量的统计
	List<OrderInstockDetail> searchForMergeOrders(String orderIds);//查询合并订单详情
	int createNewOrderDetail(OrderInstockDetail orderInstockDetail);//创建新入库单详情
	int deleteByOrderId(String orderId);//删除订单详情
	List<OrderInstockDetail> searchForDailyLog(Map<String,Object> map);//服务组工作日志
	
	/**
	 * 拉货订单详情
	 * 
	 * @param instockDetail
	 * @return
	 */
	int createInstockDetail(OrderInstockDetail instockDetail);

	/**
	 * 删除
	 * @param orderId
	 * @return
	 */
	int delete(String orderId);
}